<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>查找</title>
</head>
<body>
<table border="1"
       <tr>
           <th>id</th>
           <title>title</title>
           <th>pub</th>
           <th>market_price</th>
           <th>op</th>
       </tr>
        <tr>
            {% for book in all_book %}
                <tr>
                    <td>{{ book.id }}</td>
                    <td>{{ book.title }}</td>
                    <td>{{ book.pub }}</td>
                    <td>{{ book.price }}</td>
                    <td>{{ book.market_price }}</td>
                    <td>
                        <a href="/bookstore/update_book/{{ book.id }}">更新</a>
                        <a href="/bookstore/delete_book?book_id={{ book.id }}">删除</a>
                    </td>
                </tr>
            {% endfor %}
        </tr>
</body>
</html>